package org.dawning.shop.common.commands.cart;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.axonframework.commandhandling.TargetAggregateIdentifier;
import org.axonframework.commandhandling.model.AggregateIdentifier;
import org.dawning.shop.common.domain.cart.CartId;
import org.dawning.shop.common.domain.cart.CartProduct;

import java.util.Map;

/**
 * Created by miou on 2017/6/13 0013.
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CreateCartCommand {

    @TargetAggregateIdentifier
    private CartId cartId;

    private CartProduct cartProduct;

    private String sku;
}
